package unit5.part6;

public class InterfaceTest {
    public static void main(String[] args) {
        Wind wind = new Wind();
        wind.play();
        System.out.println(wind.what());
    }
}

interface Instrument {
    void play();
    String what();
}

class Wind implements Instrument{
    public void play() {
        System.out.println("管乐器演奏");
    }
    public String what() {
        return "管乐器";
    }
}